/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.dotexe.webframework.core.text;

/**
 *
 * @author jovan.tomasevic
 */
public class DotExeStringBuilder   {
    private StringBuilder builder;
    public DotExeStringBuilder()
    {
        builder = new StringBuilder();
    }
    public void Append(String str)
    {
        builder.append(str);
    }
    public void AppendFormat(String str, Object... params)
    {
        String value = String.format(str, params);
        builder.append(value);
    }
    public String ToString()
    {
        return builder.toString();
    }
    @Override
    public String toString()
    {
        return builder.toString();
    }
    public void AppendLine(String str)
    {
        builder.append(String.format("\n %s", str));
    }
    public void AppendLine()
    {
        builder.append("\n");
    }
}
